package com.aviccxzx.smarthome.UserModule;

import android.app.Dialog;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;

import com.aviccxzx.smarthome.R;
import com.aviccxzx.smarthome.base.GosUserModuleBaseActivity;


/**
 * Created by joey on 2016/10/25.
 */
public class AboutUsActivity extends GosUserModuleBaseActivity implements View.OnClickListener {

    EditText content;//定义一个文本输入框
    TextView hasnum;// 用来显示剩余字数
    int num = 10;//限制的最大字数

    private Dialog dialog;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
            setContentView(R.layout.aboutus_lay_v19);
        }else {
            setContentView(R.layout.aboutus_lay);
        }
        ((TextView) findViewById(R.id.title_tv)).setText("关于我们");
        findViewById(R.id.ll_title_left_view).setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.ll_title_left_view:
                finish();
                break;
        }
    }
}
